{"version":3,"file":"gridupdater.min.js","sources":["gridupdater.js"],"names":["BX","namespace","Grid","Updater","parent","this","prototype","getParent","updateHeadRows","rows","headers","type","isArray","length","getHeaders","forEach","header","cleanNode","row","isDomNode","appendChild","clone","appendHeadRows","prependHeadRows","prepend","updateBodyRowById","id","isNumber","isNotEmptyString","currentRow","getRows","getById","currentNode","getNode","insertAfter","remove","updateBodyRows","body","getBody","innerHTML","current","appendBodyRows","prependBodyRows","updateFootRows","foot","getFoot","updateCounterTotal","counter","counterCell","getCounterTotal","updatePagination","pagination","paginationCell","getPagination","getContainer","updateMoreButton","button","buttonParent","Utils","closestParent","getMoreButton","updateGroupActions","panel","GroupActions","getActionsPanel","panelNode","getPanel","panelChild","firstChild"],"mappings":"CAAC,WACA,YAEAA,IAAGC,UAAU,UAQbD,IAAGE,KAAKC,QAAU,SAASC,GAE1BC,KAAKD,OAASA,EAQfJ,IAAGE,KAAKC,QAAQG,UAAUC,UAAY,WAErC,MAAOF,MAAKD,OAQbJ,IAAGE,KAAKC,QAAQG,UAAUE,eAAiB,SAASC,GAEnD,GAAIC,EAEJ,IAAIV,GAAGW,KAAKC,QAAQH,IAASA,EAAKI,OAClC,CACCH,EAAUL,KAAKE,YAAYO,YAC3BJ,GAAQK,QAAQ,SAASC,GACxBA,EAAShB,GAAGiB,UAAUD,EACtBP,GAAKM,QAAQ,SAASG,GACrB,GAAIlB,GAAGW,KAAKQ,UAAUD,GACtB,CACCF,EAAOI,YAAYpB,GAAGqB,MAAMH,UAYjClB,IAAGE,KAAKC,QAAQG,UAAUgB,eAAiB,SAASb,GAEnD,GAAIC,EAEJ,IAAIV,GAAGW,KAAKC,QAAQH,IAASA,EAAKI,OAClC,CACCH,EAAUL,KAAKE,YAAYO,YAE3BJ,GAAQK,QAAQ,SAASC,GACxBP,EAAKM,QAAQ,SAASG,GACrB,GAAIlB,GAAGW,KAAKQ,UAAUD,GACtB,CACCF,EAAOI,YAAYpB,GAAGqB,MAAMH,UAYjClB,IAAGE,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